package com.siwen.service;

import com.siwen.pojo.system.SysUserInformationTbl;
import org.omg.CORBA.UserException;

import java.util.List;

public interface UserService {
    /**
     * 查询所有后台系统员工
     * @return
     */
    public List<SysUserInformationTbl> getsysUserInfo();

    /**
     * 后台员工登录
     * @param admincode,password
     * @return
     */
    public SysUserInformationTbl login(String admincode, String password) throws UserException;
    //注册
    public int insertUser(SysUserInformationTbl sif);
}
